package com.company.test2;

public class GirlFriendTest {
    public static void main(String[] args) {
        // 创建女朋友的对象
        GirlFriend girlFriend = new GirlFriend();
        girlFriend.name = "小可爱";
        girlFriend.age = 18;
        girlFriend.gender = "萌妹子";

        System.out.println(girlFriend.name);
        System.out.println(girlFriend.age);
        System.out.println(girlFriend.gender);

        girlFriend.eat();
        girlFriend.sleep();

        System.out.println("================");

        GirlFriend girlFriend2 = new GirlFriend();
        girlFriend2.name = "小试试";
        girlFriend2.age = 19;
        girlFriend2.gender = "温柔妹子";

        System.out.println(girlFriend2.name);
        System.out.println(girlFriend2.age);
        System.out.println(girlFriend2.gender);
    }
}
